Automated Presentation of directory src/exampleCode/GLX/basics/

HUB | Up | Download | Pheedbak | Tree | Topic | A-Z | Search | Hot | New


Please be aware: what appears below are the v4.2 DT bits in auto-generated html form.
As we have the time, we will update these to reflect the current "state of the world".


README file from "basics" directory

                   basic Motif-based GLX example programs


      glwidget:
               basic GL widget 
               demonstrates:
               - tieing an object to the movement of the mouse

      glwidget2:
               GL widget and a work procedure
               demonstrates:
               - automatic animation of a cube 
               - a Stop(/Start) button widget

      gloverlay: 
               another overlay planes program extended from glwidget2.
               demonstrates:
               - drawing a red grid in the overlay planes
               - rotating a rainbox cube in the standard planes
                 via a rotate button widget
      
      cmapov:  
               demos overlay planes usage--press LEFTMOUSE to move the bottom
               row of cubes (normal planes) so they are under the top row of
               cubes (overlay planes).  
               demonstrates:
               - using custom colormaps for the normal and overlay buffers
               - moving things with the mouse

      pick:
               mixed model program implementing GL picking

      kbecho:
               keyboard events echoed-to-stdout program automatically gets
               keyboard events when the cursor is over it the window.  You 
               don't need to click in the window or tab to it, though it 
               can be setup this way.
               demonstrates:
               - how to get continuous pointer motion events 
                 for a gl widget
               - how to get keyboard events for a gl widget 
                 in a widget heirarchy
               - how to map most keyboard keys to an appropriate 
                 string representation
      
      kbexpl:
               keyboard events echoed-to-stdout program that follows the 
               correct motif style guide of forcing the user to click in 
               the gl widget with LEFTMOUSE for it to get keyboard focus.  
               Tab keys will be lost though as motif uses these to move 
               from tab group to tab group.
               demonstrates:
               - how to get continuous pointer motion events 
                 for a gl widget
               - how to get keyboard events for a gl widget 
                 in a widget heirarchy
               - how to map most keyboard keys to an appropriate 
                 string representation

      macx:
               implementation of a hypothetical x server running on a mac 
               which happens to support a 24 bit TrueColor visual
               demonstrates:
               - multiple server connections
               - placing apps in non-default visuals
               - workprocs
               - working with XImages
      

Files of interest from "src/exampleCode/GLX/basics" directory

Source

Documentation

Reference


Select any combo of files you'd like to send yourself a compressed tar image of. Executables/scripts are indicated with a trailing `*' character. (Depending upon the browser, it may be necessary to hold down the Ctrl key to select/deselect disjoint items.) a compressed tar image of the above-selected items.
OR, ...
a compressed tar image of the entire basics directory.

Copyright © 1995, Silicon Graphics, Inc.